#! /usr/bin/python
# coding: utf-8
'''
Created on 30 avr. 2011

@author: alinehuf / thibault
'''

import sys

sys.path.append(sys.path[0] + '/src')

from PyQt4 import QtGui
from ui.UiMainWindow import UiMainWindow
from ui.Controleur import Controleur
from business.Modele import Modele

app = QtGui.QApplication(sys.argv)

modele = Modele()
controleur = Controleur(modele)
ui = UiMainWindow(controleur)
modele.addObserver(ui)

ui.afficheMenu()

ui.show()
app.exec_()

